#include <stdio.h>
int main() {
    for (int i = 0 ; i < 7;i++) {
        for (int j = 0;j < 6-i;j++) {
            printf(" ");
        }
        for (int j = 0;j <i*2+1;j++ ) {
            printf("*");
        }
        printf("\n");
    }
    for (int i = 6 ; i >= 0;i--) {
        for (int j = 6; j >= i;j--) {
            printf(" ");
        }
        for (int j = 0;j < i*2-1;j++) {
            printf("*");
        }
        printf("\n");
    }
    return 0;
}